package com.a2v2.online.store.database.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name="notification_action")
public class NotificationAction extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8902602490882065906L;
	
	/**
	 * 
	 */
	@Column(name="sender_id")
	private String senderId;
	
	/**
	 * 
	 */
	@Column(name="tgt_id")
	private String targetId;
	
	/**
	 * 
	 */
	@Column(name="param_key")
	private String paramKey;
	
	/**
	 * 
	 */
	@Column(name="param_value")
	private String paramValue;
	
	/**
	 * 
	 */
	@Column(name="notification_type")
	private String notificationType;
	
	/**
	 * 
	 */
	@ManyToOne(targetEntity = NotificationTemplateDetail.class)
	@JoinColumn(name="template_detail_id")
	private NotificationTemplateDetail notificationTemplateDetail;
	
	/**
	 * 
	 */
	@Column(name="message_status")
	private String messageStatus;

	public String getSenderId() {
		return senderId;
	}

	public void setSenderId(String senderId) {
		this.senderId = senderId;
	}

	public String getTargetId() {
		return targetId;
	}

	public void setTargetId(String targetId) {
		this.targetId = targetId;
	}

	public String getParamKey() {
		return paramKey;
	}

	public void setParamKey(String paramKey) {
		this.paramKey = paramKey;
	}

	public String getParamValue() {
		return paramValue;
	}

	public void setParamValue(String paramValue) {
		this.paramValue = paramValue;
	}

	public String getNotificationType() {
		return notificationType;
	}

	public void setNotificationType(String notificationType) {
		this.notificationType = notificationType;
	}

	public NotificationTemplateDetail getNotificationTemplateDetail() {
		return notificationTemplateDetail;
	}

	public void setNotificationTemplateDetail(
			NotificationTemplateDetail notificationTemplateDetail) {
		this.notificationTemplateDetail = notificationTemplateDetail;
	}

	public String getMessageStatus() {
		return messageStatus;
	}

	public void setMessageStatus(String messageStatus) {
		this.messageStatus = messageStatus;
	}
}
